/*
 *
 * 任务中心管理模块  路由管理
 *
 * */
const allTask = () => import('@/views/taskMonitor/allTask');
const taskChildren = () => import('@/views/taskMonitor/taskChildren');
const taskExecute = () => import('@/views/taskMonitor/taskExecute');
const taskToExecute = () => import('@/views/taskMonitor/taskToExecute');
const taskEnd = () => import('@/views/taskMonitor/taskEnd');
const taskDetails = () => import('@/views/taskMonitor/taskDetails');
const taskStatistics = () => import('@/views/taskMonitor/taskStatistics');
const newPushTask =() =>import('@/views/pushTask/updateAddtask');

const RegularRiskMonitor =() =>import('@/views/taskMonitor/RegularRiskMonitor');//风险监测
const emergencyDataScreening =() =>import('@/views/taskMonitor/emergencyDataScreening');//风险监测
const RegularProduction =() =>import('@/views/taskMonitor/RegularProduction');//要素监测
const EmergencyTaskMonitor =() =>import('@/views/taskMonitor/EmergencyTaskMonitor');//应急监测
const RemoteSensingDataProcess =() =>import('@/views/taskMonitor/RemoteSensingDataProcess');//遥感数据处理
const SatelliteDataUpload =() =>import('@/views/taskMonitor/SatelliteDataUpload');//卫星数据上传
const RegularRiskMonitoringOfProductProduction =() =>import('@/views/taskMonitor/RegularRiskMonitoringOfProductProduction');//定期风险监测任务
const dataTransferToStorage =() =>import('@/views/taskMonitor/dataTransferToStorage');//数据转存入库
const BuildEmergencyTask = () => import('@/views/taskMonitor/BuildEmergencyTask');//应急任务详情界面
const LookDataList = () => import('@/views/taskMonitor/LookDataList');//应急任务 数据清单界面
const RegionalProduct = () => import('@/views/taskMonitor/RegionalProduct');//区域生产
const TaskHJ2AB = () => import('@/views/taskMonitor/TaskHJ2AB');//环境TaskHJ2AB

// 数据订单
const dataOrder = () => import('@/views/taskMonitor/dataOrder');
//定期风险监测详情
const detailTaskRegularRisk = () => import('@/views/taskMonitor/detailTaskRegularRisk/detailTaskRegularRisk')

const riskProductLoading = () => import('@/views/taskMonitor/riskProductLoading')

export default [{
          path: '/taskManage/allTask',
          alias:'taskManage',
          name: 'allTask',
          component: allTask
     },
        // 风险产品归档与加载
        {
          path:'/taskManage/riskProductLoading',
          alias: 'riskProductLoading',
          name:'riskProductLoading',
          component:riskProductLoading
     },

     {
          path: '/taskManage/allTask/:id/:groupTaskName',
          meta: {
               label: '查看子任务'
          },
          name: 'taskChildren',
          component: taskChildren,
     }, {
          path: '/taskManage/taskExecute',
          name: 'taskExecute',
          component: taskExecute
     }, {
          path: '/taskManage/taskToExecute',
          name: 'taskToExecute',
          component: taskToExecute
     }, {
          path: '/taskManage/taskEnd',
          name: 'taskEnd',
          component: taskEnd
     }, {
          path: '/taskManage/taskDetails/:id/:startId/:status/:taskName',
          name: 'taskDetails',
          component: taskDetails
     }, {
          path: '/taskManage/statistics',
          name: 'statistics',
          component: taskStatistics
     },
     {
          path: '/taskManage/dataOrder',
          name: '数据订单',
          component: dataOrder
     },
     {
          path: '/taskManage/newPushTask',
          name: 'newPushTask',
          component: newPushTask
     },
     // 风险监测
     {
          path: '/taskManage/RegularRiskMonitor',
          name: 'RegularRiskMonitor',
          component: RegularRiskMonitor
     },
     // 要素监测
     {
          path: '/taskManage/RegularProduction',
          name: 'RegularProduction',
          component: RegularProduction
     },
     // 应急数据筛选
     {
          path: '/taskManage/emergencyDataScreening',
          name: 'emergencyDataScreening',
          component: emergencyDataScreening
     },
     // 应急监测
     {
          path: '/taskManage/EmergencyTaskMonitor',
          name: 'EmergencyTaskMonitor',
          component: EmergencyTaskMonitor
     },
     // 遥感数据处理
     {
          path: '/taskManage/RemoteSensingDataProcess',
          name: 'RemoteSensingDataProcess',
          component: RemoteSensingDataProcess
     },
     // 卫星数据上传
     {
          path: '/taskManage/SatelliteDataUpload',
          name: 'SatelliteDataUpload',
          component: SatelliteDataUpload
     },
     // 定期风险监测任务
     {
          path: '/taskManage/RegularRiskMonitoringOfProductProduction',
          name: 'RegularRiskMonitoringOfProductProduction',
          component: RegularRiskMonitoringOfProductProduction
     },
     //区域生产
     {
          path: '/taskManage/RegionalProduct',
          name: 'RegionalProduct',
          component: RegionalProduct
     },
     //TaskHJ2A 任务
     {
          path: '/taskManage/TaskHJ2AB',
          name: 'TaskHJ2AB',
          component: TaskHJ2AB
     },
     // 数据转存入库
     {
          path: '/taskManage/dataTransferToStorage',
          name: 'dataTransferToStorage',
          component: dataTransferToStorage
     },
     // 应急任务详情界面
     {
          path: '/taskManage/BuildEmergencyTask',
          name: 'BuildEmergencyTask',
          component: BuildEmergencyTask
     },
     // 数据清单查看
     {
          path: '/taskManage/LookDataList',
          name: 'LookDataList',
          component: LookDataList
     },
     {
          path: '/taskManage/detailTaskRegularRisk',
          alias: 'detailTaskRegularRisk',
          name:'detailTaskRegularRisk',
          component: detailTaskRegularRisk
     },
  
]
